﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CellphoneRepair.DAL;

namespace CellphoneRepair.Entities
{
    [DisplayName("在修手机")]
    public class Repaired
    {
        [DisplayName("在修手机ID")]
        public string Idrepaird { get; set; }

        [DisplayName("手机型号ID")]
        public string Idxinghao { get; set; }

        [DisplayName("手机型号")]
        public string Xinghao { get; set; }

        [DisplayName("维修单号")]
        public string Idlist { get; set; }

        [DisplayName("手机串号")]
        public string CelSn { get; set; }

        [DisplayName("维修金额")]
        public decimal Wxje { get; set; }
    }


    public class RepairedBll : DBCommon<Pjtype>
    {
        public override string TableName
        {
            get { return "Repaired"; }
        }

        public override string PrimaryKey
        {
            get { return "Idrepaird"; }
        }

        public override string ConnKey
        {
            get { return "default"; }
        }

        public override string ParaF
        {
            get { return "@"; }
        }
    }
}